(find-tag-default): Copy text at point without properties.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Nov 2002 07:16:14 +0000 (07:16 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Nov 2002 07:16:14 +0000 (07:16 +0000)
lisp/progmodes/etags.el

index 8d988f45341166a01ed2bd7e7acedd8a8f436f8c..e3154ae4c4a1293f2e3ebeaddc539c837a40f887 100644 (file)
@@ -776,11 +776,12 @@ Assumes the tags table is the current buffer."
                               (save-excursion (end-of-line) (point))
                               t))
        (progn (goto-char (match-end 0))
-              (buffer-substring (point)
-                                (progn (forward-sexp -1)
-                                       (while (looking-at "\\s'")
-                                         (forward-char 1))
-                                       (point))))
+              (buffer-substring-no-properties
+                (point)
+                (progn (forward-sexp -1)
+                       (while (looking-at "\\s'")
+                         (forward-char 1))
+                       (point))))
       nil)))
 
 ;; Read a tag name from the minibuffer with defaulting and completion.